//
//  UIImage+Stretchable.h
//  AppsTemplate
//
//  Created by Maple on 9/17/14.
//  Copyright (c) 2014 Maple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Stretchable)


/*
 *方法：拉伸图片
 *参数：imageName
 *参数：width
 *参数：height
 */
+ (UIImage *)stretchableImageName:(NSString *)imageName leftCapWidth:(NSInteger)width topCapHeight:(NSInteger)height;

/*
 *方法：拉伸图片
 *参数：image
 *参数：width
 *参数：height
 */
+ (UIImage *)stretchableImage:(UIImage *)image leftCapWidth:(NSInteger)width topCapHeight:(NSInteger)height;


@end
